/**
 * 1+2+3... +100=？？？
 */
public class Demo {
    public static void main(String[] args) {
        int fornum = 0;
        for (int i = 0; i <= 100; i++) {
            fornum += i;
        }
        System.out.println("fornum=" + fornum);
        System.out.println("===============================");
    }
}
